﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="JobPosition_Title.aspx.cs" Inherits="admin_JobPosition_Title" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:ToolkitScriptManager ID="ScriptManager1" runat="server"></asp:ToolkitScriptManager>
<script language="javascript" type="text/javascript">
    function mpeCuentaOnCancel() {

    }
</script>



<div class="grid_16" id="content">
    <div class="grid_9">
    <h1 class="dashboard">JOB TITLES</h1>
    </div>
    <div class="grid_6" id="eventbox"><a href="#" class="inline_calendar">Mensaje</a><div class="hidden_calendar"></div></div>
    <div class="clear"></div>
    <div id="portlets">
      <div class="column" id="left">
      </div>
    <div class="clear"></div>
    
    <div class="portlet">
        <div class="portlet-header fixed"><img src="images/icons/user.gif" width="16" height="16" alt="Accounts" />Titles</div>
        <div class="portlet-content nopadding" style="font-size:13px!Important">
            <table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
            <thead>
              <tr>
                <th width="136" scope="col">Name</th>
                <th width="109" scope="col">Description</th>
                <th width="90" scope="col">Minimum Salary</th>
                <th width="90" scope="col">Maximum Salary</th>
                <th width="90" scope="col">Currency</th>
                <th width="90" scope="col">Step Increase</th>
                <th width="90" scope="col">Action</th>
              </tr>
            </thead>
            <tbody>
            <% if (jobpositionarr!=null && jobpositionarr.Count>0) {
                   foreach (RE_GenericBean rgb in jobpositionarr)
                   {
            %>
              <tr>
                <td width="136"><%=rgb.strC1 %></td>
                <td width="109"><%=rgb.strC2 %></td>
                <td width="90"><%=rgb.decC1 %></td>
                <td width="90"><%=rgb.decC2 %></td>
                <td width="90"><%=rgb.strC3 %></td>
                <td width="90"><%=rgb.intC3 %></td>
                <td width="90"><a href="JobPosition_Title.aspx?id=<%=rgb.intC1 %>" class="edit_icon" title="Edit">&nbsp;&nbsp;&nbsp;&nbsp;EDIT</a></td>
              </tr>
            <%     }
               }
            %>
            </tbody>
            </table>
        </div>
        </div>

        <div>
            <asp:HyperLink ID="HyperLink1" runat="server" class="button_ok"><span>Add</span></asp:HyperLink>
            <asp:ModalPopupExtender ID="HyperLink1_ModalPopupExtender" runat="server" DynamicServicePath="" Enabled="true" TargetControlID="HyperLink1" PopupControlID="pnlAddType" BackgroundCssClass="FondoAplicacion" OnCancelScript="mpeCuentaOnCancel()"></asp:ModalPopupExtender>
        </div>

        

    </div>
    
    </div>
    <div>

    <div class="clear"> </div>
    <div class="clear"> </div>
    <asp:Panel ID="pnlAddType" runat="server" align="center" Width="733px" BackColor="White" style=" border:2px solid #4B4A4A; box-shadow:0px 0px 15px #000000; -webkit-box-shadow: 0px 0px 15px #000000;">
            <table width="100%">
                <tr align="center">
                    <td colspan="4" align="center" scope="col" style="font-size:17px; background-color:#DCDADA">Add Job Position<asp:Label ID="lb_puesto_id" runat="server" Text="0" Visible="false"></asp:Label></td>
                </tr>
            </table>
                <table width="720px" align="center" cellspacing="5">
                        <tr>
                            <td style="vertical-align:top">Job Title Name</td>
                            <td>
                                <asp:TextBox ID="tb_job_name" runat="server" Width="200px"></asp:TextBox>
                            </td>
                            <td style="vertical-align:top">Company</td>
                            <td style="vertical-align:top">
                                <asp:DropDownList ID="ddl_company" runat="server" Width="200px"></asp:DropDownList>
                            </td>
                        </tr>
                        <tr>
                            <td style="vertical-align:top">Minimum Salary</td>
                            <td>
                                <asp:TextBox ID="tb_salario_minimo" runat="server" Width="150px">0</asp:TextBox>
                            </td>
                            <td style="vertical-align:top">Maximum Salary</td>
                            <td>
                                <asp:TextBox ID="tb_salario_maximo" runat="server" Width="150px">0</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td style="vertical-align:top">Currency</td>
                            <td>
                                <asp:DropDownList ID="ddl_moneda" runat="server" Width="154px">
                                    <asp:ListItem Value=" ">Select One</asp:ListItem>
                                    <asp:ListItem Value="GTQ">GTQ - QUETZAL</asp:ListItem>
                                    <asp:ListItem Value="USD">USD - DOLLAR</asp:ListItem>
                                </asp:DropDownList>
                            </td>
                            <td style="vertical-align:top">Step Increase</td>
                            <td>
                                <asp:TextBox ID="tb_incremento" runat="server" Width="150px">0</asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4"><asp:CheckBox ID="chk_superior" runat="server" TextAlign="Left" />
                                <asp:Label ID="lb_superior" runat="server" Font-Bold="True">Management</asp:Label></td>
                        </tr>
                        <tr>
                            <td style="vertical-align:top">Job Description</td>
                            <td colspan="3">
                                <asp:TextBox ID="tb_job_descripcion" runat="server" Height="75px" 
                                    TextMode="MultiLine" Width="523px"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                <asp:LinkButton ID="LinkButton1" runat="server" class="button_ok" OnClick="LinkButton1_Click"><span>SAVE</span></asp:LinkButton>
                                <%if (id != 0){ %>
                                    <asp:LinkButton ID="LinkButton2" runat="server" class="button_edit" OnClick="LinkButton2_Click"><span>EDIT</span></asp:LinkButton>
                                <%} %>
                                <asp:LinkButton ID="btnCuentaCancelar" runat="server" class="button_cancel" 
                                    onclick="btnCuentaCancelar_Click"><span>CANCEL</span></asp:LinkButton>
                            </td>
                        </tr>
            </table>
        </asp:Panel>
    </div>

</asp:Content>
